<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<s:include value="/commun/header.jsp" />

<div id="body">
<h2>Forum du projet <s:property value="projet.nom"/></h2>

<h3>Liste des messages</h3>
<ul>
<s:iterator value="topics" status="status">
<li>
<s:url id="topicC" action="viewTopic"><s:param name="topic.id" value="id"/></s:url>
<s:a href="%{topicC}"><s:property value="titre"/></s:a>
</li>
</s:iterator>
</ul>

<p><s:url id="newTopic" action="newTopicSetup"><s:param name="projet.id" value="projet.id"/></s:url>
<s:a href="%{newTopic}">Poster un nouveau topic</s:a>
</p>
</div>

<s:include value="/commun/footer.jsp"/>